package com.xuedakun.xasdk.net.okhttp;

import okhttp3.MediaType;

/**
 * Created by xuedakun on 2017/6/13 10:18
 *
 * @version : v1.0
 * @project : xasdk
 * @Email : dakun611@Gmail.com
 */

public class OkHttpConstants {

    public static final MediaType FILE
            = MediaType.parse("application/file; charset=utf-8");

    public static final MediaType FORM
            = MediaType.parse("application/x-www-form-urlencoded; charset=utf-8");

    public static final MediaType JSON
            = MediaType.parse("application/json; charset=utf-8");

    public static final MediaType MEDIA_TYPE_PNG
            = MediaType.parse("image/jpg");

    public static final MediaType MEDIA_TYPE_MARKDOWN
            = MediaType.parse("text/x-markdown; charset=utf-8");
}
